<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%--<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK"%>--%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>addNews.jsp</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
<link href="./script/ext/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
    <link href="./script/ext/resources/css/ext-patch.css" rel="stylesheet" type="text/css" />
    <link href="./script/ext/resources/css/app.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="./script/ext/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="./script/ext/adapter/ext/ext-all.js"></script>
    <script type="text/javascript" src="./script/master/upload.js"></script>
	-->
  </head>
  
  <body>
    <div id="form"></div>
<%--     <FCK:editor id="content" basePath="/Extjs/FCKeditor/"   --%>
<%--		imageBrowserURL="/Extjs/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"   --%>
<%--		linkBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"   --%>
<%--		flashBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"   --%>
<%-- 		imageUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"   --%>
<%--		linkUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"   --%>
<%--		flashUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash">   --%>
<%--			this is default content :)   --%>
<%--</FCK:editor> --%>
	<form action="addnews.action" method="post">
		栏目：<select name="categoryId">
				<option value="1" >
					categoryTitle
				</option>
		</select><br>
		新闻标题：<input  type="text" name="nTitle"/><br>
		新闻摘要：<textarea cols="60" rows="4" name="nSummary" ></textarea><br/>
		<h3 align="center">新闻内容:</h3><br>
		<FCK:editor instanceName="nContent" basePath="/fckeditor" value=" " >
		</FCK:editor>
		<input type="submit" value="提交">
	</form>
  </body>
</html>
